﻿@page
@model XZTZ.UMP.WEB.Pages.Base.BillTemplet.CreateModel

@{
    ViewData["Title"] = "Create";
}

<h1>Create</h1>

<h4>BillTemplet</h4>
<hr />
<div class="row">
    <div class="col-md-4">
        <form method="post">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="BillTemplet.GuidParentId" class="control-label"></label>
                <input asp-for="BillTemplet.GuidParentId" class="form-control" />
                <span asp-validation-for="BillTemplet.GuidParentId" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.GuidBillVisionId" class="control-label"></label>
                <select asp-for="BillTemplet.GuidBillVisionId" class ="form-control" asp-items="ViewBag.GuidBillVisionId"></select>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrType" class="control-label"></label>
                <input asp-for="BillTemplet.StrType" class="form-control" />
                <span asp-validation-for="BillTemplet.StrType" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrSubSortId" class="control-label"></label>
                <input asp-for="BillTemplet.StrSubSortId" class="form-control" />
                <span asp-validation-for="BillTemplet.StrSubSortId" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrLevelCode" class="control-label"></label>
                <input asp-for="BillTemplet.StrLevelCode" class="form-control" />
                <span asp-validation-for="BillTemplet.StrLevelCode" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrBillCode" class="control-label"></label>
                <input asp-for="BillTemplet.StrBillCode" class="form-control" />
                <span asp-validation-for="BillTemplet.StrBillCode" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrBillName" class="control-label"></label>
                <input asp-for="BillTemplet.StrBillName" class="form-control" />
                <span asp-validation-for="BillTemplet.StrBillName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrUnit" class="control-label"></label>
                <input asp-for="BillTemplet.StrUnit" class="form-control" />
                <span asp-validation-for="BillTemplet.StrUnit" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrComputeType" class="control-label"></label>
                <input asp-for="BillTemplet.StrComputeType" class="form-control" />
                <span asp-validation-for="BillTemplet.StrComputeType" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.GuidAssociateBillId" class="control-label"></label>
                <input asp-for="BillTemplet.GuidAssociateBillId" class="form-control" />
                <span asp-validation-for="BillTemplet.GuidAssociateBillId" class="text-danger"></span>
            </div>
            <div class="form-group form-check">
                <label class="form-check-label">
                    <input class="form-check-input" asp-for="BillTemplet.BlnIsExceed" /> @Html.DisplayNameFor(model => model.BillTemplet.BlnIsExceed))
                </label>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrParentShortName" class="control-label"></label>
                <input asp-for="BillTemplet.StrParentShortName" class="form-control" />
                <span asp-validation-for="BillTemplet.StrParentShortName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.StrPropertyId" class="control-label"></label>
                <select asp-for="BillTemplet.StrPropertyId" class ="form-control" asp-items="ViewBag.StrPropertyId" ></select>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.IntIndexNo" class="control-label"></label>
                <input asp-for="BillTemplet.IntIndexNo" class="form-control" />
                <span asp-validation-for="BillTemplet.IntIndexNo" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="BillTemplet.DtmOperateDate" class="control-label"></label>
                <input asp-for="BillTemplet.DtmOperateDate" class="form-control" />
                <span asp-validation-for="BillTemplet.DtmOperateDate" class="text-danger"></span>
            </div>
            <div class="form-group form-check">
                <label class="form-check-label">
                    <input class="form-check-input" asp-for="BillTemplet.BlnTabooFlag" /> @Html.DisplayNameFor(model => model.BillTemplet.BlnTabooFlag))
                </label>
            </div>
            <div class="form-group">
                <input type="submit" value="Create" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-page="Index">Back to List</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
